package com.lyfam.velcro.tableTag;

import ognl.Ognl;
import ognl.OgnlException;

public class TestItemRenderer implements IRenderer
{	
	public TestItemRenderer()
	{
	}

	public String getRenderString(Object data)
	{
		String name;
		try
		{
			name = Ognl.getValue("value", data).toString();
		}
		catch (OgnlException e)
		{
			name = e.getMessage();
		}

		return name;
	}
}
